package com.zy.openchat.core.model.message;

import android.os.Parcel;
import android.os.Parcelable;

public class MessageSendUser implements Parcelable {
    public long user_id;

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeLong(this.user_id);
    }

    public void readFromParcel(Parcel source) {
        this.user_id = source.readLong();
    }

    public MessageSendUser() {
    }

    protected MessageSendUser(Parcel in) {
        this.user_id = in.readLong();
    }

    public static final Creator<MessageSendUser> CREATOR = new Creator<MessageSendUser>() {
        @Override
        public MessageSendUser createFromParcel(Parcel source) {
            return new MessageSendUser(source);
        }

        @Override
        public MessageSendUser[] newArray(int size) {
            return new MessageSendUser[size];
        }
    };
}
